package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.mingqijia.gassafety.db.entity.annotation.OperateLogFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 业务通知规则表
 * </p>
 *
 * @author wanghai
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_business_notice")
@ApiModel(value="BusinessNotice对象", description="业务通知规则表")
public class BusinessNotice extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @OperateLogFiled(name = "简称")
    @ApiModelProperty(value = "参数名称")
    @TableField("param_name")
    private String paramName;

    @ApiModelProperty(value = "参数code")
    @TableField("param_code")
    private String paramCode;

    @OperateLogFiled(name = "参数值")
    @ApiModelProperty(value = "参数值")
    @TableField("param_value")
    private String paramValue;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @OperateLogFiled(name = "推送客户手机号")
    @ApiModelProperty(value = "推送客户手机号;分割")
    @TableField("push_level")
    private String pushLevel;

    @OperateLogFiled(name = "推送员工手机号")
    @ApiModelProperty(value = "推送员工手机号;分割")
    @TableField("push_staffs")
    private String pushStaffs;

    @OperateLogFiled(name = "推送额外手机号")
    @ApiModelProperty(value = "推送额外手机号;分割")
    @TableField("push_phones")
    private String pushPhones;

    @OperateLogFiled(name = "设置范围")
    @ApiModelProperty(value = "设置范围")
    @TableField("set_range")
    private String setRange;

    @OperateLogFiled(name = "周期")
    @ApiModelProperty(value = "周期 存在多个就以;分割")
    @TableField("period")
    private String period;

    @OperateLogFiled(name = "设备类型 ")
    @ApiModelProperty(value = "设备类型 存在多个就以;分割")
    @TableField("equipment_type")
    private String equipmentType;

    @OperateLogFiled(name = "设备厂商 ")
    @ApiModelProperty(value = "设备厂商 存在多个就以;分割")
    @TableField("equipment_manufacturer")
    private String equipmentManufacturer;

    @OperateLogFiled(name = "设备型号 ")
    @ApiModelProperty(value = "设备型号 存在多个就以;分割")
    @TableField("equipment_model")
    private String equipmentModel;

    @OperateLogFiled(name = "离线是否通知 ")
    @ApiModelProperty(value = "离线是否通知 0-false;1-true")
    @TableField("is_notice")
    private Integer isNotice;

    //弹窗分钟
    @OperateLogFiled(name = "弹窗分钟")
    @ApiModelProperty(value = "弹窗分钟")
    @TableField("pop_minutes")
    private Integer popMinutes;

    //弹窗秒
    @OperateLogFiled(name = "弹窗秒")
    @ApiModelProperty(value = "弹窗秒")
    @TableField("pop_seconds")
    private Integer popSeconds;


}
